﻿using System;
namespace YY.Model
{
	/// <summary>
	/// 代理商表
	/// </summary>
	[Serializable]
	public partial class agent_users
	{
		public agent_users()
		{}
		#region Model
		private int _id;
		private string _user_name;
		private string _true_name;
		private string _head_img_url;
		private DateTime? _birthday= DateTime.Now;
		private int? _sex;
		private DateTime? _registered_time= DateTime.Now;
		private string _id_number;
		private string _e_mail;
		private string _salt;
		private string _password;
		private string _mobile;
		private string _telphone;
		private string _area;
		private string _address;
		private string _city;
		private string _registered_ip;
		private string _amount;
		private int? _member_id;
		private int? _status=0;
		private int? _is_lock=0;
		private string _reason;
		private DateTime? _audit_time;
		private string _audit_name;
		private int? _check_status;
		private int? _is_submit=0;
		private string _documents1;
		private string _documents2;
		private string _documents3;
		private string _documents4;
		private string _frozen_capital;
		private DateTime? _frozen_capital_time;
		private DateTime? _frozen_pay_time;
		private DateTime? _frozen_thaw_time;
		private string _remark;
		private string _sms_account_balance;
		private Guid _user_guid;
		/// <summary>
		/// 自增列表
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 代理商名称
		/// </summary>
		public string user_name
		{
			set{ _user_name=value;}
			get{return _user_name;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string true_name
		{
			set{ _true_name=value;}
			get{return _true_name;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string head_img_url
		{
			set{ _head_img_url=value;}
			get{return _head_img_url;}
		}
		/// <summary>
		/// 出生日期
		/// </summary>
		public DateTime? birthday
		{
			set{ _birthday=value;}
			get{return _birthday;}
		}
		/// <summary>
		/// 性别  1:男  2：女
		/// </summary>
		public int? sex
		{
			set{ _sex=value;}
			get{return _sex;}
		}
		/// <summary>
		/// 注册时间
		/// </summary>
		public DateTime? registered_time
		{
			set{ _registered_time=value;}
			get{return _registered_time;}
		}
		/// <summary>
		/// 身份证号
		/// </summary>
		public string id_number
		{
			set{ _id_number=value;}
			get{return _id_number;}
		}
		/// <summary>
		/// 邮箱
		/// </summary>
		public string e_mail
		{
			set{ _e_mail=value;}
			get{return _e_mail;}
		}
		/// <summary>
		/// 随机码
		/// </summary>
		public string salt
		{
			set{ _salt=value;}
			get{return _salt;}
		}
		/// <summary>
		/// 密码
		/// </summary>
		public string password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 手机号码
		/// </summary>
		public string mobile
		{
			set{ _mobile=value;}
			get{return _mobile;}
		}
		/// <summary>
		/// 电话号码
		/// </summary>
		public string telphone
		{
			set{ _telphone=value;}
			get{return _telphone;}
		}
		/// <summary>
		/// 区域
		/// </summary>
		public string area
		{
			set{ _area=value;}
			get{return _area;}
		}
		/// <summary>
		/// 地址
		/// </summary>
		public string address
		{
			set{ _address=value;}
			get{return _address;}
		}
		/// <summary>
		/// 所属城市
		/// </summary>
		public string city
		{
			set{ _city=value;}
			get{return _city;}
		}
		/// <summary>
		/// 注册ip
		/// </summary>
		public string registered_ip
		{
			set{ _registered_ip=value;}
			get{return _registered_ip;}
		}
		/// <summary>
		/// 银付通账户
		/// </summary>
		public string amount
		{
			set{ _amount=value;}
			get{return _amount;}
		}
		/// <summary>
		/// 会员id 外建
		/// </summary>
		public int? member_id
		{
			set{ _member_id=value;}
			get{return _member_id;}
		}
		/// <summary>
		/// 是否激活 0：未激活 1：已激活
		/// </summary>
		public int? status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 锁定
		/// </summary>
		public int? is_lock
		{
			set{ _is_lock=value;}
			get{return _is_lock;}
		}
		/// <summary>
		/// 审核内容
		/// </summary>
		public string reason
		{
			set{ _reason=value;}
			get{return _reason;}
		}
		/// <summary>
		/// 审核时间
		/// </summary>
		public DateTime? audit_time
		{
			set{ _audit_time=value;}
			get{return _audit_time;}
		}
		/// <summary>
		/// 审核人
		/// </summary>
		public string audit_name
		{
			set{ _audit_name=value;}
			get{return _audit_name;}
		}
		/// <summary>
		/// 审核状态  0：未审核  1：审核通过  2：审核不通过
		/// </summary>
		public int? check_status
		{
			set{ _check_status=value;}
			get{return _check_status;}
		}
		/// <summary>
		/// 0:未提交 1：已提交
		/// </summary>
		public int? is_submit
		{
			set{ _is_submit=value;}
			get{return _is_submit;}
		}
		/// <summary>
		/// 证件1
		/// </summary>
		public string documents1
		{
			set{ _documents1=value;}
			get{return _documents1;}
		}
		/// <summary>
		/// 证件2
		/// </summary>
		public string documents2
		{
			set{ _documents2=value;}
			get{return _documents2;}
		}
		/// <summary>
		/// 证件3
		/// </summary>
		public string documents3
		{
			set{ _documents3=value;}
			get{return _documents3;}
		}
		/// <summary>
		/// 证件4
		/// </summary>
		public string documents4
		{
			set{ _documents4=value;}
			get{return _documents4;}
		}
		/// <summary>
		/// 冻结资金
		/// </summary>
		public string frozen_capital
		{
			set{ _frozen_capital=value;}
			get{return _frozen_capital;}
		}
		/// <summary>
		/// 冻结资金的时间
		/// </summary>
		public DateTime? frozen_capital_time
		{
			set{ _frozen_capital_time=value;}
			get{return _frozen_capital_time;}
		}
		/// <summary>
		/// 资金缴纳时间
		/// </summary>
		public DateTime? frozen_pay_time
		{
			set{ _frozen_pay_time=value;}
			get{return _frozen_pay_time;}
		}
		/// <summary>
		/// 资金解冻时间
		/// </summary>
		public DateTime? frozen_thaw_time
		{
			set{ _frozen_thaw_time=value;}
			get{return _frozen_thaw_time;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 短信剩余条数
		/// </summary>
		public string sms_account_balance
		{
			set{ _sms_account_balance=value;}
			get{return _sms_account_balance;}
		}
		/// <summary>
		/// 用户guid（用于对应银行信息）
		/// </summary>
		public Guid user_guid
		{
			set{ _user_guid=value;}
			get{return _user_guid;}
		}
		#endregion Model

	}
}

